package com.example.cyk.mapper;

import com.example.cyk.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {

    //-------------------User------------------
    User selectUserById(@Param("id") Long id);
    User selectUserByName(@Param("username") String username);
    void add(User user);

}
